package com.ruoyi.cscec.service;

import java.util.List;
import com.ruoyi.cscec.domain.SurveyOrder;

/**
 * 调查工单Service接口
 *
 * @author ruoyi
 * @date 2021-09-27
 */
public interface ISurveyOrderService
{
    /**
     * 查询调查工单
     *
     * @param id 调查工单主键
     * @return 调查工单
     */
    public SurveyOrder selectSurveyOrderById(Long id);

    /**
     * 查询调查工单列表
     *
     * @param surveyOrder 调查工单
     * @return 调查工单集合
     */
    public List<SurveyOrder> selectSurveyOrderList(SurveyOrder surveyOrder);

    /**
     * 新增调查工单
     *
     * @param surveyOrder 调查工单
     * @return 结果
     */
    public int insertSurveyOrder(SurveyOrder surveyOrder);

    /**
     * 修改调查工单
     *
     * @param surveyOrder 调查工单
     * @return 结果
     */
    public int updateSurveyOrder(SurveyOrder surveyOrder);

    /**
     * 批量删除调查工单
     *
     * @param ids 需要删除的调查工单主键集合
     * @return 结果
     */
    public int deleteSurveyOrderByIds(Long[] ids);

    /**
     * 删除调查工单信息
     *
     * @param id 调查工单主键
     * @return 结果
     */
    public int deleteSurveyOrderById(Long id);
}
